
class FIREBALL: public SPELL
{
public:
	FIREBALL()
	{
		/*
		FireBall
		Shoots a fireball. Target Enemy.
		MC: 3, DMG: 15, PRICE: 50
		*/

		SetName("Fireball");
		SetPrice(50);
		SetManaCost(3);
		SetMagnitude(15);
		SetSpellType(ST_FIREBALL);
	}

	FIREBALL(FIREBALL* newspell)
	{
		SetName(newspell->GetName());
		SetPrice(newspell->GetPrice());
		SetManaCost(newspell->GetManaCost());
		SetMagnitude(newspell->GetMagnitude());
		SetSpellType(newspell->GetSpellType());
	}

	void Cast(ENTITY* elist,int ecount)
	{
		//assumes elist and ecount = 1

		cout << "From your fingertips a great ball of fire erupts and flies at the ";
		cout << elist->GetName() << endl;

		cout << "You damage the " << elist->GetName() << " for " << GetMagnitude() << " damage!\n";
		elist->LoseHealth(GetMagnitude());
	}
};